package com.atguigu.classroom.activity.service;

import com.atguigu.classroom.model.activity.CouponUse;
import com.atguigu.classroom.vo.activity.CouponUseQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 优惠券领用表 服务类
 * </p>
 *
 * @author atguigu
 * @since 2022-07-17
 */
public interface CouponUseService extends IService<CouponUse> {

    Page<CouponUse> getPage(Long page, Long limit, CouponUseQueryVo couponUseQueryVo);

    Boolean updateCouponInfoUseStatus(Long couponUseId, Long orderId);
}
